package com.cloudfast.config.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 文件配置类 自动加载 sftp.client 配置
 *
 * @author liuyw
 */
@Data
@Component
@ConfigurationProperties(prefix = "cloudfast.storage")
public class StorageProperty {

    private String type;

    private int maxFileSize;
}
